/******************************************************************************
 * 
 * Announce: CSharpKit, Basic algorithms, components and definitions.
 *           Copyright (C) ShenYongchen.
 *           All rights reserved.
 *   Author: 申永辰.郑州 (shenyczz@163.com)
 *  WebSite: http://github.com/shenyczz/CSharpKit
 *
 * THIS CODE IS LICENSED UNDER THE MIT LICENSE (MIT).
 * THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 
 * ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
 * IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
 * PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
 * 
******************************************************************************/

namespace CSharpKit.SVM
{
    /// <summary>
    /// 表示网格平方结果。<br/>
    /// Class representing a grid square result.
    /// </summary>
    public class GridSquare
    {
        /// <summary>
        /// The C value
        /// </summary>
        public double C;
        /// <summary>
        /// The Gamma value
        /// </summary>
        public double Gamma;
        /// <summary>
        /// The cross validation score(交叉验证得分)
        /// </summary>
        public double Score;

        public override string ToString()
        {
            return string.Format("{0} {1} {2}", C, Gamma, Score);
        }
    }

}
